package cn.oracle.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.stereotype.Controller;

/**
 * 
 * @author wuyuhong
 * @date 2021/03/22 22:25
 * 这个配置类的作用相当于application.xml
 **/
@ComponentScan(basePackages = "cn.oracle",useDefaultFilters = true,excludeFilters = {@ComponentScan.Filter(type = FilterType.ANNOTATION,classes = Controller.class)})
@Configuration
public class SpringConfig
{
}
